﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace test.demo.Model.PRO生产管理
{
    /// <summary>
    /// 停机记录表
    /// </summary>
    public class Pro_Shutdown_Record : Entity<int>
    {
        /// <summary>
        /// 工作站ID
        /// </summary>
        public int WorkstationId { get; set; }

        /// <summary>
        /// 工作站编码
        /// </summary>
        public string? WorkstationCode { get; set; }

        /// <summary>
        /// 工作站名称
        /// </summary>
        public string? WorkstationName { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public int MachineryId { get; set; }

        /// <summary>
        /// 设备编码
        /// </summary>
        public string? MachineryCode { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string? MachineryName { get; set; }

        /// <summary>
        /// 停机原因
        /// </summary>
        public string? ShutdownReason { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OperationTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }


        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpDateTime { get; set; }
    }
}
